How to send message in android from our application?
2227
15-Nov-2014
send message in android from our application
Updated on 15-Nov-2014
Anonymous User
15-Nov-2014You can perform your action on button click-
btn.setOnClickListener(new View.OnClickListener() {public void onClick(View v) {
Intent send = new Intent(Intent.ACTION_SEND);
send.setType("text/plain");
send.putExtra(Intent.EXTRA_TEXT, “This is demo message ");
startActivity(Intent.createChooser(send, "Send via..”));
}
});